package com.appcenter.message.service;

import com.appcenter.message.mapper.DingConfigsMapper;
import com.appcenter.message.model.DingConfigs;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DingConfigsService {
    @Autowired
    DingConfigsMapper DingConfigMapper;


    //根据APPCode获取钉钉配置信息
    public DingConfigs getDingConfig(String AppCode) {
        return DingConfigMapper.getDingConfig(AppCode);
    }
}
